module.exports = (options, app) => {
    return async function (ctx, next) {
        const _timestamp = Date.now(); // 生成时间戳
        await next();
        ctx.set('X-Server-Time', _timestamp); // 自定义响应头
    }
}